<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>电池连接原理</title>
  <!-- 引入 Tailwind CSS -->
  <script src="https://cdn.tailwindcss.com"></script>
  <!-- 引入 Font Awesome -->
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  
  <!-- 配置 Tailwind -->
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            primary: '#3B82F6', // 蓝色主色调
            secondary: '#10B981', // 绿色辅助色
            accent: '#F59E0B', // 橙色强调色
          },
          fontFamily: {
            sans: ['Inter', 'system-ui', 'sans-serif'],
          },
        },
      }
    }
  </script>
  
  <!-- 自定义工具类 -->
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
    }
  </style>
</head>

<body class="bg-gradient-to-br from-blue-50 to-indigo-50 min-h-screen">
  <!-- 页面头部 -->
  <header class="bg-white shadow-md">
    <div class="container mx-auto px-4 py-6">
      <h1 class="text-[clamp(1.75rem,5vw,2.5rem)] font-bold text-primary flex items-center">
        <i class="fa fa-battery-full mr-3 text-accent"></i>
        电池连接原理
      </h1>
      <p class="text-gray-600 mt-2 max-w-2xl">了解如何将多个电芯连接成一个完整的电池组</p>
    </div>
  </header>

  <main class="container mx-auto px-4 py-8">
    <!-- 介绍部分 -->
    <section class="bg-white rounded-xl shadow-lg p-6 mb-8 transform transition-all hover:shadow-xl">
      <h2 class="text-2xl font-semibold text-gray-800 mb-4 flex items-center">
        <i class="fa fa-info-circle text-primary mr-2"></i>
        基本连接方式
      </h2>
      <p class="text-gray-700 leading-relaxed">
        电池组最常见的连接方式是串联，通过串联可以增加电池组的总电压。
并联可以增大输出电流。
      </p>
      
      <div class="mt-6">
        <div class="bg-blue-50 rounded-lg p-4 border-l-4 border-primary">
          <h3 class="font-medium text-primary mb-2">串联连接</h3>
          <p class="text-gray-700">将一个电池的正极与另一个电池的负极相连，总电压为各电池电压之和，容量不变。</p>
        </div>
      </div>
    </section>
    
    <!-- 2*3连接示例 -->
    <section class="bg-white rounded-xl shadow-lg p-6 mb-8 transform transition-all hover:shadow-xl">
      <h2 class="text-2xl font-semibold text-gray-800 mb-6 flex items-center">
        <i class="fa fa-cubes text-primary mr-2"></i>
        六节串联电池连接示例（用于小车供电）
      </h2>
      
      <div class="w-full">
        <!-- 连接说明 -->
        <div class="w-full">
          <h3 class="text-xl font-semibold text-gray-800 mb-4">连接步骤</h3>
          <ol class="space-y-3 text-gray-700">
            <li class="flex items-start">
              <span class="bg-primary text-white rounded-full w-6 h-6 flex items-center justify-center mt-0.5 mr-2 flex-shrink-0">1</span>
              <div>将六节电芯以2×3的矩阵形式并排竖立放置</div>
            </li>
            <li class="flex items-start">
              <span class="bg-primary text-white rounded-full w-6 h-6 flex items-center justify-center mt-0.5 mr-2 flex-shrink-0">2</span>
              <div>相邻电池正负极方向相反，形成交替排列</div>
            </li>
            <li class="flex items-start">
              <span class="bg-primary text-white rounded-full w-6 h-6 flex items-center justify-center mt-0.5 mr-2 flex-shrink-0">3</span>
              <div>使用点焊机将电池的正负极依次连接，形成串联电路</div>
            </li>
            <li class="flex items-start">
              <span class="bg-primary text-white rounded-full w-6 h-6 flex items-center justify-center mt-0.5 mr-2 flex-shrink-0">4</span>
              <div>最后焊接6串保护板，确保电池组安全使用</div>
            </li>
          </ol>
          
          <div class="mt-6 bg-blue-50 p-4 rounded-lg border border-blue-200">
            <h4 class="font-medium text-primary mb-2">技术参数</h4>
            <ul class="grid grid-cols-2 gap-2 text-gray-700">
              <li><span class="font-medium">总电压：</span>25.2V (4.2V × 6)</li>
              <li><span class="font-medium">总容量：</span>5000mAh</li>
              <li><span class="font-medium">连接方式：</span>6节串联</li>
              <li><span class="font-medium">适用场景：</span>电动小车供电</li>
            </ul>
          </div>
        </div>
      </div>
    </section>
    
    <!-- 保护板说明 -->
    <section class="bg-white rounded-xl shadow-lg p-6 mb-8 transform transition-all hover:shadow-xl">
      <h2 class="text-2xl font-semibold text-gray-800 mb-4 flex items-center">
        <i class="fa fa-shield text-primary mr-2"></i>
        保护板的作用
      </h2>
      <p class="text-gray-700 mb-4">保护板是电池组中不可或缺的部分，它能有效保护电池，延长使用寿命。</p>
      
      <div class="grid md:grid-cols-3 gap-4">
        <div class="bg-gray-50 rounded-lg p-4 border border-gray-200">
          <div class="text-2xl text-primary mb-2"><i class="fa fa-bolt"></i></div>
          <h3 class="font-medium text-gray-800 mb-1">过充保护</h3>
          <p class="text-gray-600 text-sm">防止电池过度充电，避免电池损坏甚至危险</p>
        </div>
        
        <div class="bg-gray-50 rounded-lg p-4 border border-gray-200">
          <div class="text-2xl text-primary mb-2"><i class="fa fa-battery-empty"></i></div>
          <h3 class="font-medium text-gray-800 mb-1">过放保护</h3>
          <p class="text-gray-600 text-sm">防止电池过度放电，延长电池使用寿命</p>
        </div>
        
        <div class="bg-gray-50 rounded-lg p-4 border border-gray-200">
          <div class="text-2xl text-primary mb-2"><i class="fa fa-fire"></i></div>
          <h3 class="font-medium text-gray-800 mb-1">短路保护</h3>
          <p class="text-gray-600 text-sm">在电路短路时自动切断连接，保障安全</p>
        </div>
      </div>
    </section>
  </main>

  <!-- 页脚 -->
  <footer class="bg-gray-800 text-white py-8">
    <div class="container mx-auto px-4">
      <div class="flex flex-col md:flex-row justify-between items-center">
        <div class="mb-4 md:mb-0">
          <h2 class="text-xl font-bold">电池连接原理</h2>
          <p class="text-gray-400 mt-1">简单易懂的电池连接指南</p>
        </div>
        
        <div class="flex space-x-4">
          <a href="#" class="text-gray-400 hover:text-white transition-colors">
            <i class="fa fa-question-circle"></i> 常见问题
          </a>
          <a href="#" class="text-gray-400 hover:text-white transition-colors">
            <i class="fa fa-envelope"></i> 联系我们
          </a>
        </div>
      </div>
      
      <div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm">
        © 2025 电池连接原理. 保留所有权利.
      </div>
    </div>
  </footer>

  <!-- 平滑滚动 -->
  <script>
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
      anchor.addEventListener('click', function (e) {
        e.preventDefault();
        
        document.querySelector(this.getAttribute('href')).scrollIntoView({
          behavior: 'smooth'
        });
      });
    });
  </script>
</body>
</html>
    